import axios from 'axios'

const bookingFormApi = axios.create({
    baseURL: 'https://ita-dgth-06-dev-dshrd.shrd.cargosmart.online/bizApi'
});


export const createBookingForm = (carrier,containerType,pol,pod,cargoType) => bookingFormApi.post('/',{
    carrier: carrier,
    containerType: containerType,
    pol: pol,
    pod: pod,
    cargoType: cargoType
});

export const updateBookingForm = () => bookingFormApi.put();

export const getTxn = (orderingId) =>bookingFormApi.get('/'+orderingId);

